package com.example.compiler;

import com.example.iannotation.Menu;

public class MenuContainer {
    private int iconId;
    private String name;
    private String functionId;
    private Boolean needLogin;
    private String className;

    public MenuContainer(Menu menu, String qualifiedName) {
        this.iconId = menu.iconId();
        this.name = menu.name();
        this.functionId = menu.functionId();
        this.needLogin = menu.needLogin();
        this.className = qualifiedName;
    }

    public int getIconId() {
        return iconId;
    }

    public void setIconId(int iconId) {
        this.iconId = iconId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFunctionId() {
        return functionId;
    }

    public void setFunctionId(String functionId) {
        this.functionId = functionId;
    }

    public Boolean getNeedLogin() {
        return needLogin;
    }

    public void setNeedLogin(Boolean needLogin) {
        this.needLogin = needLogin;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
